package com.lyj.sc.Test.test3;

import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.ToString;

import java.util.concurrent.locks.ReentrantLock;

/**
 * @program: code-random
 * @description:
 * @author: lyj
 * @create: 2022-07-04 15:04
 * @version: 1.0
 * @Modifier By:
 **/
public class Item {

    public static void main(String[] args) {
        ReentrantLock reentrantLock = new ReentrantLock();
        boolean b = reentrantLock.tryLock();
    }
}

